import { createApp } from 'vue'
import './style.css'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import App from './App.vue'

import router from '@/router'

import axios from 'axios'
import VueAxios from 'vue-axios'

import { createPinia } from 'pinia'
const pinia = createPinia()

import dayjs from 'dayjs'

import 'virtual:windi.css'

let app = createApp(App)
app.use(router)
app.use(ElementPlus)
app.use(VueAxios, axios)
app.use(pinia)
app.config.globalProperties.dayjs = dayjs//全局挂载
app.mount('#app')